package com.yance.fim.core.handler.codec;

import com.yance.fim.core.enums.Code;
import com.yance.fim.core.handler.Codec;

@Codec(Command.CONNECT)
public class ConnectHandler extends WsImHandler<String, Object> {
    @Override
    public byte[] request(com.yance.fim.core.enums.Command command, Code subSignal, String content) {
        return content.getBytes();
    }

    @Override
    public String result(com.yance.fim.core.enums.Command command, Code subSignal, Object result) {
        return null;
    }
}
